package com.guanglan.service;

import com.guanglan.entity.SysPermission;
import com.guanglan.entity.SysRole;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * 作者: 光蓝Comet
 * Date: 2018-06-22 10:58
 * Description: 一句话说明这个类的作用
 * Since 1.0
 */
public interface ShiroService {

    List<SysRole> selectSysRolesByUserName(String userName);

    List<SysPermission> selectSysPermissionByUserName(String userName);

    List<SysPermission> selectParentMenuByUserName(String userName);

    List<SysPermission> selectChildMenuByPid(Long pid);
}
